package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;
import java.util.Set;

public interface RoleService {

    PageResponse<RoleVo> getByPage(RoleDto roleDto, Integer pageNum, Integer pageSize);

    Set<String> getById(Long roleId);

    List<RoleVo> list();

    void delete(Long roleId);

    Boolean update(RoleDto roleDto);

    void add(RoleDto roleDto);
}
